package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.time.ZonedDateTime;

@SpringBootApplication
@EnableEurekaClient
public class GateWayMain9527 {
    public static void main(String[] args) {
        SpringApplication.run(GateWayMain9527.class,args);

        // 获得After配置里的时间格式
        ZonedDateTime zbj = ZonedDateTime.now();
        System.out.println(zbj);
    }

    // 测试地址
    // http://localhost:9527/payment/get/31
    // http://localhost:9527/payment/lb
}
